<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>这是一个p标签</p>
    <div>
        <p>块元素可以嵌套p标签</p>
    </div>
    <p>
        <!-- 具体问题打开浏览器f12查看源码 -->
        <div>p标签不能嵌套块元素</div>
    </p>
</body>
</html>